package com.jwgf.protocolstack;

public class CommunicationStateListener {
	public interface ReadSucceedListener {
		void readSucceed(ProtocolStack ps, byte[] request, byte[] response);
	}

	public interface ReadFailedListener {
		void readFailed(ProtocolStack ps, byte[] request);
	}

	public interface WriteSucceedListener {
		void writeSucceed(ProtocolStack ps, byte[] request);
	}

	public interface WriteFailedListener {
		void writeFailed(ProtocolStack ps, byte[] request);
	}
	
	public interface SuccessRateListener {
		void successRate(ProtocolStack ps);
	}
}
